package cn.ljy.authority.model.param;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@ApiModel(value="账户id集合、部门id表单")
@Data
public class UserIdsAndDepartmentIdForm {
    @ApiModelProperty(value="账户id集合")
    @NotEmpty(message = "账户id集合不能为空")
    private Long[] userIds;
    @ApiModelProperty(value="部门id")
    @NotNull(message = "部门id不能为空")
    private Long departmentId;
}
